﻿//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Workflow
//  File name:	CustomInstance.cs
//  Developer:	Solomatov Igor
//  Created:	16.04.2012
// 
//  -------------------- iSharePoint -------------------- //

using System;
using System.Collections.Generic;

namespace Smart.Workflow
{
	/// <summary>
	/// Custom instance
	/// </summary>
	[Serializable]
	public class CustomInstance : ActivityInstance
	{
		public ActionRuleInstanceList ActionRules;

		/// <summary>
		/// Initializes a new instance of the <see cref="T:Smart.Workflow.CustomInstance"/> class.
		/// </summary>
		public CustomInstance(ProcessInstance parent, string name, int index, IEnumerable<ActionRule> actionRules)
			: base(parent, name, index)
		{
			ActionRules = new ActionRuleInstanceList(this, actionRules);
		}
	}
}